<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition xmlns="http://www.w3.org/1999/xhtml">

        <f:subview>
            <f:loadBundle basename="kuzmenkov.oip.i18n.front.headerRes" var="headerBundle"/>


            <div class="headerContent">
                <div class="headerLogo">
                    <h:form>

                        <h:commandLink action="home" class="headerLogoLink">
                            <h:graphicImage
                                    alt="#{headerBundle.logoAlt}"
                                    value="/images/logos/eye.jpeg"
                                    width="50px"
                                    height="50px"
                                    class="headerLogoLink"
                                    />
                        </h:commandLink>

                    </h:form>
                </div>
                <div class="headerTitle">
                    <div class="headerSitename">
                        <h:outputText value="#{headerBundle.siteName}"/>
                    </div>
                    <div class="headerMessage">
                        <h:outputText value="#{headerBundle.siteMessage}"/>
                    </div>
                </div>
            </div>

            <div class="headerLangOptions">
                <h:form>
                    <h:commandLink class="headerLanguage" value="ru" action="#{headerController.setRussian}"/>
                    <h:outputText value="|"/>
                    <h:commandLink class="headerLanguage" value="en" action="#{headerController.setEnglish}"/>
                </h:form>
            </div>
            <div id="menu" class="menubar">
                <h:form>



                        <h:commandLink styleClass="menuItem" value="#{headerBundle.homeItem}" action="home"/>
                        <h:commandLink styleClass="menuItem" value="#{headerBundle.processingItem}" action="image_processing"/>
                        <h:commandLink styleClass="menuItem" value="#{headerBundle.commentItem}" action="comments"/>
                        <h:commandLink styleClass="menuItem" value="#{headerBundle.contactItem}" action="contacts"/>


                    
                </h:form>
            </div>


        </f:subview>

    </ui:composition>

</jsp:root>